package com.hundunjiang.common.mybatisplus.config.properties;

import com.hundunjiang.common.core.factory.YmlPropertySourceFactory;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Configuration
@Component
@PropertySource(value = "classpath:common-mybatisplus.yaml",factory = YmlPropertySourceFactory.class)
@ConfigurationProperties(prefix = "mybatis-plus")
public class MybatisPlusProperties {

    /**
     * mapper包扫描路径
     */
    private List<String> mapperScanner;

    private String yyf;
}
